cmake_minimum_required(VERSION 3.10)

add_subdirectory(network_p2p)
add_subdirectory(network_tcp)
add_subdirectory(network_udp)


find_package(Qt6 COMPONENTS SerialPort)
if (Qt6SerialPort_FOUND)
	add_subdirectory(network_serialport)
	message(STATUS "Qt6 SerialPort module found, network_serialport enabled.")
else()
	message(WARNING "Qt6 SerialPort module not found, network_serialport disabled.")
endif()
